package com.ganmiao.server.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ganmiao.entity.BaseColumns;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: hzj
 * @Time: 2024/6/6  16:05
 * @Description:
 */
@Data
public class UserCollect extends BaseColumns {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    /**
     * 业务id（如商超id 商品id)
     */
    @ApiModelProperty(value = "业务id（如商超id 商品id)")
    private Integer bizId;

    /**
     * 业务类型：1商超2商品
     */
    @ApiModelProperty(value = "业务类型：1商超2商品")
    private Integer bizType;

    /**
     * 商超id(类型为商品时不为null)
     */
    @ApiModelProperty(value = "商超id(类型为商品时不为null)")
    private Integer shopId;

    /**
     * 状态 (1:正常 9:删除/失效)
     */
    @ApiModelProperty(value = "状态 (1:正常 3:下架 9:删除/失效)")
    private Integer status;

}
